<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/4
  Time: 13:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加页面</title>
    <style>
        div {
            width: 600px;
            margin: 1em auto;
            padding: 10px;
            text-align: center;
            background: darkgray;
        }
        input {
            height: 30px;
        }
        button {
            height: 30px;
        }
    </style>
</head>
<body>
    <div>
        <form action="/student/add" method="post">
            <h3>添加页面</h3>
            学生学号：<input type="text" name="no" placeholder="请输入学号"><br><br>
            学生姓名：<input type="text" name="name" placeholder="请输入姓名"><br><br>
            学生年龄：<input type="number" name="age" placeholder="请输入年龄"><br><br>
            学生性别：<input type="text" name="sex" placeholder="请输入性别"><br><br>
            学生分数：<input type="number" name="score" placeholder="请输入分数"><br><br>
            入学时间：<input type="date" name="time" placeholder="请输入入学时间"><br><br>
            <button>添加</button>
        </form>
        <a href="/student/list">返回首页</a>
    </div>
</body>
</html>
